
#ifndef _INNATESKILL_
#define _INNATESKILL_
#include "gDefine.h"
#include "SimpleRefection.h"
#include "MgrBase.h"
struct ReactorDef;
class  TContextValidators;
struct InnateSkillDef:public ReflectionBase
{
	DECL_REFLECTION(InnateSkillDef,"../../config/InnateSkillDef.xml");
	int32 m_iID;
	std::string m_sDisplayName;
	std::string m_sName;
	int32 m_iReactorID;
	int32 m_iContentValidator;
	int32 m_iMaxCastCount;
	std::string m_sConditonDesc;
	std::string m_sUsageDesc;
	std::string m_sPic;
	std::string m_sPic2;
	
	ReactorDef * m_pReactor;
	TContextValidators * m_pContextValidator;

	rewrite virtual void OnArchieveReaded();

};
typedef DefMangerTpl<InnateSkillDef> InnateSkillDefManager;

#endif